<include file="public/header" />
</head>
<body>
<div style="margin: 15px;" class="user-main">
	<form class="layui-form mt20"  action="{:url('Admin/roleaddedit')}"  method="post">
		<div class="layui-form-item">
			<label class="layui-form-label"><span class="red">*</span>角色名</label>
			<div class="layui-input-inline layui-wd">
				<input type="text" value="{$msg.name}" name="name" placeholder="请输入角色名" class="layui-input "  maxlength="10"  lay-verify="required" >
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">角色描述</label>
			<div class="layui-input-inline layui-wd" >
				<textarea name="remark" placeholder="请输入角色描述" class="layui-textarea">{$msg.remark}</textarea>
			</div>
		</div>
		<if condition="$msg neq null">
			<input type="hidden" name="id" value="{$msg.id}">
		</if>
		<div class="layui-input-block mt20">
			    <button class="layui-btn layui-btn-danger  fr mr100"  lay-submit  lay-filter="iframebtn">确认保存</button>
		</div>
	</form>
</div>
<include file="public/footer" />
</body>
</html>